package com.smile.service.entity.services;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString
public class InFlightWaylineDeliver implements Serializable {
    private static final long serialVersionUID = 1L;
    private File file;

    @Data
    public static class File {

        @JSONField(name = "fingerprint")
        private String fingerprint;

        @JSONField(name = "url")
        private String url;
    }

    @JSONField(name = "in_flight_wayline_id")
    private String inFlightWaylineId;

    @JSONField(name = "out_of_control_action")
    private Integer outOfControlAction;

    @JSONField(name = "exit_wayline_when_rc_lost")
    private Integer exitWaylineWhenRcLost;

    @JSONField(name = "rth_altitude")
    private Integer rthAltitude;

    @JSONField(name = "rth_mode")
    private Integer rthMode;

    @JSONField(name = "wayline_precision_type")
    private Integer waylinePrecisionType;
}
